/*
 *  Copyright 2020-2025 the original author or authors.
 *  You cannot use this file unless authorized by the author.
 */

package org.ipig.computing;

import org.ipig.commons.service.Service;

/**
 * LauncherService
 *
 * @author <a href="mailto:comchnts@163.com">chinats</a>
 * @since 1.0
 */
public interface LauncherService<IN, OUT> extends Service {
    /**
     * launch
     *
     * @return 输出参数
     */
    public default OUT launch() {
        throw new IllegalArgumentException("请进行方法实现");
    }

    /**
     * launch
     *
     * @param in 输入参数
     * @return 输出参数
     */
    public default OUT launch(final IN in) {
        throw new IllegalArgumentException("请进行方法实现");
    }

}